//
//  FLGuidePageView.h
//  Follow
//
//  Created by liangshangjia on 16/5/9.
//  Copyright © 2016年 Sami-industry. All rights reserved.
//


#import "BaseView.h"
#import "FLGuideHeader.h"


@class FLGuidePageView;


@protocol FLGuidePageViewDelegate <NSObject>

@optional
- (void)guidePage:(FLGuidePageView *)page didClickBottomButton:(UIButton *)button;

@end


/**
 *  引导页 单元页
 */
@interface FLGuidePageView : BaseView


@property (nonatomic, weak) id<FLGuidePageViewDelegate> delegate;

/**
 *  构造器
 *  @param topMargin_icon icon离父视图顶端的距离
 *  @param topMargin_word 文字离父视图顶端的距离
 *  @param page (0开始)
 *  @return guidePage
 */
+ (instancetype)guidePageWithTopMargin_icon:(CGFloat)topMargin_icon andTopMargin_word:(CGFloat)topMargin_word withPage:(int)page;


/**
 *  显示动画
 */
- (void)showAnimationWhenDidAppear;

/**
 *  退出动画
 */
- (void)showAnimationWhenDidDisappear;

@end
